import Vue from 'vue'
import App from './App.vue'
import './registerServiceWorker'
import router from './router'
import store from './store'
import Nav from '@/components/Nav.vue';
import Layout from '@/components/Layout.vue';
import Icon from '@/components/Icon.vue';

Vue.config.productionTip = false

Vue.component('Nav',Nav)
Vue.component('Layout',Layout)
//全局的组件不能太多了，这个你要学会控制
Vue.component('Icon',Icon)


new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
